﻿/*CSS Reset*/
* {
	margin: 0;
	padding: 0;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-tap-highlight-color: transparent;
	-webkit-text-size-adjust: none;
}

	*:focus {
		outline: none;
	}

html {
	color: #232323;
	font-family: Helvetica;
	font-size: 10px;
	background-color: #f4f4f4;
	height: 100%;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	overflow-x: hidden;
}

@media screen and (max-width: 340px) {
	html {
		font-size: 8px;
	}
}

@media screen and (min-width: 680px) {
	html {
		font-size: 14px;
	}
}

@media screen and (min-width: 900px) {
	html {
		font-size: 16px;
	}
}

body {
	font-size: 1.2em;
}

body, div, p, td, th, ul, li, dl, dt, dd {
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	margin: 0;
}

article, aside, dialog, footer, header, section, nav, figure, menu {
	display: block;
}

fieldset {
	border: 0;
}

figure, menu {
	margin: 0;
	padding: 0;
}

ul {
	list-style-type: none;
}

a {
	background-color: transparent;
	text-decoration: none;
}

	a:active, a:hover {
		outline: 0;
	}

strong {
	font-weight: bold;
}

img {
	border: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

textarea {
	resize: none;
}

.clear:after, .clear::after {
	content: '';
	display: block;
	visibility: hidden;
	height: 0;
	clear: both;
}

/*common*/

.special {
	color: #ff8961;
}

.interception {
	white-space: nowrap;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	overflow: hidden;
}

.btn {
	cursor: pointer;
	-webkit-user-select: none;
	border: none;
	background-color: #ffee71;
	-moz-border-radius: 100px;
	-webkit-border-radius: 100px;
	border-radius: 100px;
	color: #232323;
	display: block;
	font-size: 1.6rem;
	height: 45px;
	line-height: 45px;
	max-width: 40%;
	text-align: center;
	width: 150px;
}

	.btn.hover {
		background-color: #fee8ac;
	}
	.btn.disable{
		background-color:#e4e4e4;
		color:#fff;
	}

.hide {
	display: none;
}

.mask-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background: rgba(0, 0, 0, .5);
	display: none;
}

#global-toast {
	color: #fff;
	position: fixed;
	width: 70%;
	padding: 20px 5%;
	font-size: 1.6rem;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.7);
	bottom: 45%;
	left: 50%;
	text-align: center;
	-moz-background-clip: padding-box;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	pointer-events: none;
	z-index:50;
}


[data-href] {
	cursor: pointer;
}

	[data-href] > * {
		pointer-events: none;
	}

.s-right {
	float: right;
}

.avatar {
	-moz-background-clip: padding-box;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	border: 2px solid #fff;
	border-radius: 1000px;
	-moz-border-radius: 1000px;
	display: inline-block;
}

	.avatar img {
		border-radius: 1000px;
		-moz-border-radius: 1000px;
		width: 100%;
		height: 100%;
	}

.disableClick {
	pointer-events: none;
}



.vertical {
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

img.share {
	float: right;
	width: 82.9%;
	max-width: 622px;
}

/* ============================================================
Flex布局
============================================================ */
.flex-wrapper {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	width: 100%;
}

.flex-v {
	-webkit-box-orient: vertical;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
}

.flex-1 {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

.flex-align-center {
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}

.flex-pack-center {
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.flex-pack-justify {
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

/* ============================================================
 弹出框
============================================================ */
.popup-wrapper {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 100;
}

	.popup-wrapper .popup-bg {
		background-color: rgba(0,0,0,0.8);
		width: 100%;
		height: 100%;
	}

.popup-layout {
	position: absolute;
	top: 5px;
	right: 20px;
}
